home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / Macintosh Sample Code / SC.004.TubeTest / CTubeTest.make < prev    next >
Encoding:
Text File  |  1994-11-18  |  1.8 KB  |  57 lines  |  [TEXT/MPS ]

  1. #
  2. #    Macintosh Developer Technical Support
  3. #
  4. #    Simple Color QuickDraw Animation Sample Application
  5. #
  6. #    TubeTest
  7. #
  8. #    TubeTest.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.00                8/88
  14. #                1.01                6/92
  15. #
  16. #    Components:    TubeTest.p            August 1, 1988
  17. #                TubeTest.c            August 1, 1988
  18. #                TubeTest.r            August 1, 1988
  19. #                PTubeTest.make        August 1, 1988
  20. #                CTubeTest.make        August 1, 1988
  21. #                TCTubeTest.π        June 4, 1992
  22. #                TCTubeTest.π.rsrc    June 4, 1992
  23. #
  24. #    The TubeTest program is a simple demonstration of how to use the Palette 
  25. #    Manager in a color program.  It has a special color palette that is associated
  26. #    with the main window.  The colors are animated using the Palette Manager 
  27. #    to give a flowing tube effect.  The program is very simple, and the Palette
  28. #    Manager and drawing parts are put in separate subroutines to make it easier
  29. #    to figure out what is happening.
  30. #    
  31. #    The program is still a complete Macintosh application with a Main Event Loop,
  32. #    so there is the extra code to run the MEL.  
  33. #    
  34. #    There is a resource file that is necessary as well, to define the Menus, Window,
  35. #    Dialog, and Palette resources used in the program.  
  36. #
  37. #    See Sample and TESample for the general structure and MultiFinder techniques that
  38. #    we recommend that you use when building a new application.
  39. #
  40. # For MPW 2.0 we use the following line so that the the complete interfaces are there:
  41. # If you are using MPW 2.x or earlier, uncomment the following line:
  42. #COptions = -d __ALLNU__ -d MPW2
  43. #
  44. # For MPW 3.0:  define MPW3, turn on strict prototyping (-r option)
  45. COptions = -d MPW3 -r
  46.  
  47. CObjs            =    TubeTest.c.o ∂
  48.                     "{Libraries}"Interface.o ∂
  49.                     "{Libraries}"Runtime.o
  50.  
  51. CTubeTest        ƒƒ    {CObjs} CTubeTest.make
  52.         Link -o {Targ} {CObjs}
  53.         SetFile {Targ} -t APPL -c '????'
  54.  
  55. CTubeTest        ƒƒ    TubeTest.r CTubeTest.make
  56.         Rez -rd -o {Targ} TubeTest.r -append
  57.